package com.guigu.video.entity;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 评论
 * </p>
 *
 * @author liulinjun
 * @since 2020-07-12
 */
@Data
  @EqualsAndHashCode(callSuper = false)
  @Accessors(chain = true)
public class AbComment implements Serializable {

    private static final long serialVersionUID=1L;

      /**
     * 评论ID
     */
        private String id;

      /**
     * 课程id
     */
      private String courseId;

      /**
     * 讲师id
     */
      private String teacherId;

      /**
     * 用户id
     */
      private String memberId;

      /**
     * 评论内容
     */
      private String content;

      /**
     * 逻辑删除 1（true）已删除， 0（false）未删除
     */
      @TableLogic
      private Boolean isDeleted;

      /**
     * 创建时间
     */
      private LocalDateTime commentCreate;

      /**
     * 更新时间
     */
      private LocalDateTime commentModified;


}
